home *** CD-ROM | disk | FTP | other *** search
- *This script file automates downloading dividend history from CIS. The user
- *will be asked to input the beginning and ending dates. The data is placed
- *into file 'Mqdiv.log'. The data will be appended to the file, if it already
- *exists.
- sendline 'Go Mqdata'
- wait 'exit! '
- sendline '2'
- wait 'help: '
- sendline 'TTY'
- wait 'Issue : '
- sendline 'SP 500'
- wait 'Issue : '
- send ^M
- wait 'Option :'
- send ^M
- wait ': '
- capture 'mqdiv.log'
- sendline '1,3,5,7'
- wait '!'
- capture off
- endpgm: exit